/**
 *
 */
package de.cbf.logview.service;

import de.cbf.logview.interfaces.ControllerLogView;
import de.cbf.logview.interfaces.ILogViewOpenedListener;


/**
 * @author Nebelritter
 *
 */
public interface IServiceLogViewController {

	
	/**
	 * will provide standard controller(with set view) via callback listener in case logView with id is openend
	 * @param id
	 * @param listener
	 * 
	 */
	public void observeLogViewOpen(String id,ILogViewOpenedListener listener);
	
	/**
	 * will provide the delivered controller(with set view) if logView (with id) is openend
	 * 
	 * @param id
	 * @param listener
	 * @param controller
	 */
	public void observeLogViewOpen(String id,ILogViewOpenedListener listener,ControllerLogView controller);

	/**
	 * remove said listener from listening for openings with id
	 * @param id
	 * @param listener
	 */
	public void ignoreLogViewOpen(String id,ILogViewOpenedListener listener);
}
